orNull

infix fun orNull(value: Int): NegativeInt?

Deprecated

Use the NegativeIntOrNull function instead.

Replace with

import kotools.types.number.NegativeIntOrNull
NegativeIntOrNull(value)

Returns the value as a NegativeInt, or returns null if the value equals 0.